package game.units;

import core.rendering.Renderable;

public abstract class Unit extends Renderable {

	final static int NAVIGATION_FLY = 0;
	final static int NAVIGATION_GROUND = 1;

	int live;
	int money;
	float velocity;

	public Unit(int xpos, int ypos) {
		super(xpos, ypos);
		live = 1;
		velocity = 1.0f;
	}

	public abstract void move(float x, float y);

	public abstract void substract(int live_lost);

	public int getHealth() {
		return live;
	}

	public abstract Unit clone();

	public abstract int getNavigationType();

	public int getMoney() {
		return money;
	}

}
